<?php
/* @var $this SiteController */

$this->pageTitle=Yii::app()->name;
?>

<?php if (!empty($news)) : ?>
<div class="news">
	<div class="heading">
		Dịch vụ sửa chữa điện lạnh
	</div>
	
	<?php foreach ($news as $new) : ?>
		
		<div class="item">			
			<div class="thumbnail"><a href="<?php echo $this->createUrl('news/detail', array('id' => $new->id)); ?>"><img src="<?php echo $new->thumbnail_url; ?>" width="170" height="100" /></a></div>
			<div class="title"><a href="<?php echo $this->createUrl('news/detail', array('id' => $new->id)); ?>"><?php echo $new->title; ?></a></div>
		</div>
		
	<?php endforeach; ?>
</div>
<?php endif; ?>